package com.ruoyi.conference.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 会议占用详情表对象 tb_occupation
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public class TbOccupation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long occupId;

    /** 会议室 */
    @Excel(name = "会议室")
    private String occupHuiyi;

    /** 会议室名称 */
    @Excel(name = "会议室名称")
    private String occupName;

    /** 会议类型 */
    @Excel(name = "会议类型")
    private String occupType;

    /** 占用人 */
    @Excel(name = "占用人")
    private String occupPeople;

    /** 占用时间 */
    @Excel(name = "占用时间")
    private String occupZhanytime;

    /** 占用人电话 */
    @Excel(name = "占用人电话")
    private String occupPhone;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occupTime;

    public void setOccupId(Long occupId) 
    {
        this.occupId = occupId;
    }

    public Long getOccupId() 
    {
        return occupId;
    }
    public void setOccupHuiyi(String occupHuiyi) 
    {
        this.occupHuiyi = occupHuiyi;
    }

    public String getOccupHuiyi() 
    {
        return occupHuiyi;
    }
    public void setOccupName(String occupName) 
    {
        this.occupName = occupName;
    }

    public String getOccupName() 
    {
        return occupName;
    }
    public void setOccupType(String occupType) 
    {
        this.occupType = occupType;
    }

    public String getOccupType() 
    {
        return occupType;
    }
    public void setOccupPeople(String occupPeople) 
    {
        this.occupPeople = occupPeople;
    }

    public String getOccupPeople() 
    {
        return occupPeople;
    }
    public void setOccupZhanytime(String occupZhanytime) 
    {
        this.occupZhanytime = occupZhanytime;
    }

    public String getOccupZhanytime() 
    {
        return occupZhanytime;
    }
    public void setOccupPhone(String occupPhone) 
    {
        this.occupPhone = occupPhone;
    }

    public String getOccupPhone() 
    {
        return occupPhone;
    }
    public void setOccupTime(Date occupTime) 
    {
        this.occupTime = occupTime;
    }

    public Date getOccupTime() 
    {
        return occupTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("occupId", getOccupId())
            .append("occupHuiyi", getOccupHuiyi())
            .append("occupName", getOccupName())
            .append("occupType", getOccupType())
            .append("occupPeople", getOccupPeople())
            .append("occupZhanytime", getOccupZhanytime())
            .append("occupPhone", getOccupPhone())
            .append("occupTime", getOccupTime())
            .toString();
    }
}
